using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ILopService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ILopService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface ILopService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: Lop_ID</para>
		/// <para>Output: LopEntity</para>
		///</summary>
		[OperationContract]
		LopEntity SelectOne(int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaLop</para>
		/// <para>Input: MaLop</para>
		/// <para>Output: LopEntity</para>
		///</summary>
		[OperationContract]
		LopEntity SelectOneByMaLop(string MaLop);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LopEntity</para>
		///</summary>
		[OperationContract]
		List<LopEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LopEntity</para>
		///</summary>
		[OperationContract]
		List<LopEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: LopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(LopEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: LopEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		LopEntity SaveRet(LopEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of LopEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<LopEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of LopEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<LopEntity> SaveListRet(List<LopEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: LopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(LopEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of LopEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<LopEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaLop</para>
		/// <para>Input: NewMaLop,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaLop(string NewMaLop,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenLop</para>
		/// <para>Input: NewTenLop,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTenLop(string NewTenLop,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSoSinhVienToiDa</para>
		/// <para>Input: NewSoSinhVienToiDa,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateSoSinhVienToiDa(int NewSoSinhVienToiDa,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMoTaLop</para>
		/// <para>Input: NewMoTaLop,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMoTaLop(string NewMoTaLop,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateGiaoVienPhuTrach_ID</para>
		/// <para>Input: NewGiaoVienPhuTrach_ID,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateGiaoVienPhuTrach_ID(int NewGiaoVienPhuTrach_ID,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNganhHoc_ID</para>
		/// <para>Input: NewNganhHoc_ID,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNganhHoc_ID(int NewNganhHoc_ID,int Lop_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateKhoaHoc_ID</para>
		/// <para>Input: NewKhoaHoc_ID,Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateKhoaHoc_ID(int NewKhoaHoc_ID,int Lop_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: LopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(LopEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: Lop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int Lop_ID);
		#endregion

		#region Select join to KhoaHocNganhHoc functions
		#endregion

		#region Select join to KhoaHoc functions
		#endregion

		#region Select join to NganhHoc functions
		#endregion

		#region Select,delete by Lop_ID functions
		#endregion

		#region Select,delete by NganhHoc_ID functions
		#endregion

		#region Select,delete by KhoaHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END LopWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

